#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# TwiTalker - Tweet it easy with your GTalk
# Copyright 2009-2010 Kavin Gray
# See LICENSE for details.
# 
#

from google.appengine.ext import webapp
from apptwitter import AppEngineTwitter
from google.appengine.ext.webapp.util import run_wsgi_app
from db_model import TwiDbA, TwiDbB, TwiDbC, TwiDbD, TwiDbE, TwiDbF, TwiDbG, TwiDbH, TwiDbI, TwiDbJ, TwiCount,TwiError
from twi_service import TService



class MainPageA(webapp.RequestHandler):
    def get(self):
        ts=TService()
        ts.recMsg('TwiDbA')

        

class MainPageB(webapp.RequestHandler):
    def get(self):
        ts=TService()
        ts.recMsg('TwiDbB')
        


class MainPageC(webapp.RequestHandler):
    def get(self):
        ts=TService()
        ts.recMsg('TwiDbC')
        


class MainPageD(webapp.RequestHandler):
    def get(self):
        ts=TService()
        ts.recMsg('TwiDbD')



class MainPageE(webapp.RequestHandler):
    def get(self):
        ts=TService()
        ts.recMsg('TwiDbE')



class MainPageF(webapp.RequestHandler):
    def get(self):
        ts=TService()
        ts.recMsg('TwiDbF')




class MainPageG(webapp.RequestHandler):
    def get(self):
        ts=TService()
        ts.recMsg('TwiDbG')




class MainPageH(webapp.RequestHandler):
    def get(self):
        ts=TService()
        ts.recMsg('TwiDbH')



class MainPageI(webapp.RequestHandler):
    def get(self):
        ts=TService()
        ts.recMsg('TwiDbI')



class MainPageJ(webapp.RequestHandler):
    def get(self):
        ts=TService()
        ts.recMsg('TwiDbJ')          
            



application = webapp.WSGIApplication([('/dataa', MainPageA),
                                      ('/datab', MainPageB),
                                      ('/datac', MainPageC),
                                      ('/datad', MainPageD),
                                      ('/datae', MainPageE),
                                      ('/dataf', MainPageF),
                                      ('/datag', MainPageG),
                                      ('/datah', MainPageH),
                                      ('/datai', MainPageI),
                                      ('/dataj', MainPageJ)],
                                     debug=True)

def main():
    run_wsgi_app(application)

if __name__ == "__main__":
    main()  